Allow to connect
Schemas
- yaml
- json
- markdown
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://github.com/nqminds/CAHN/blob/main/packages/schemas/src/allow_to_connect.v.1.0.0.schema.yaml
title: Allow to connect
description: A giving of connection rights from an authorising user to a device
type: object
properties:
device_id:
description: id of the device receiving connection rights
type: string
authoriser_id:
description: id of the authorising user
type: string
created_at:
description: timestamp at which connection rights were given in milliseconds
type: integer
required:
- device_id
- authoriser_id
- created_at
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/nqminds/CAHN/blob/main/packages/schemas/src/allow_to_connect.v.1.0.0.schema.yaml",
"title": "Allow to connect",
"description": "A giving of connection rights from an authorising user to a device",
"type": "object",
"properties": {
"device_id": {
"description": "id of the device receiving connection rights",
"type": "string"
},
"authoriser_id": {
"description": "id of the authorising user",
"type": "string"
},
"created_at": {
"description": "timestamp at which connection rights were given in milliseconds",
"type": "integer"
}
},
"required": [
"device_id",
"authoriser_id",
"created_at"
]
}
Allow to connect
A giving of connection rights from an authorising user to a device
The schema defines the following properties:
device_id
(string, required)
id of the device receiving connection rights
authoriser_id
(string, required)
id of the authorising user
created_at
(integer, required)
timestamp at which connection rights were given in milliseconds
Examples
- table
- json